package com.xbongbong.pro.process.pojo.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;


@Getter
@Setter
@ToString
public class WorkrecordTaskDTO {

    private String corpid;

    /**
     * 实例id
     */
    private String dingtalkProcessInstanceId;

    /**
     * 审批人 和 跳转链接所需参数
     */
    private List<WorkrecordTaskOption> taskOptions;

    public WorkrecordTaskDTO() {
    }

    public WorkrecordTaskDTO(String dingtalkProcessInstanceId, List<WorkrecordTaskOption> taskOptions) {
        this.dingtalkProcessInstanceId = dingtalkProcessInstanceId;
        this.taskOptions = taskOptions;
    }
}
